home *** CD-ROM | disk | FTP | other *** search
/ Aminet 52 / Aminet 52 (2002)(GTI - Schatztruhe)[!][Dec 2002].iso / Aminet / dev / gg / bc-1.6.readme < prev    next >
Text File  |  2002-09-15  |  5KB  |  108 lines

  1. Short:    Arbitrary  precision  numeric  processing  language
  2. Author:   Phil Nelson, Ken Pizzini & Diego Casorran
  3. Uploader: dcr8520@amiga.org
  4. Version:  1.6
  5. Type:     dev/gg
  6.  
  7. ----------------------------------------------------------------------------
  8.  
  9.         This  package  comes  from      http://Amiga.SourceForge.net
  10.  
  11. ----------------------------------------------------------------------------
  12.  
  13. bc  is  an  arbitrary  precision  numeric  processing  language.  Syntax is
  14. similar  to  C,  but  differs  in  many  substantial  areas.   It  supports
  15. interactive execution of statements.  bc is a utility included in the POSIX
  16. P1003.2/D11 draft standard.
  17.  
  18. This  version was written to be a POSIX compliant bc processor with several
  19. extensions  to  the  draft  standard.   Option flags are available to cause
  20. warning  or  rejection  of the extensions to the POSIX standard.  For those
  21. who  want  only  POSIX  bc  with  no  extensions, a grammar is provided for
  22. exactly  the language described in the POSIX document.  The grammar (sbc.y)
  23. comes  from  the  POSIX document.  The Makefile contains rules to make sbc.
  24. (for Standard BC)
  25.  
  26. Since  the POSIX document does not specify how bc must be implemented, this
  27. version  does  not use the historical method of having bc be a compiler for
  28. the dc calculator.  This version has a single executable that both compiles
  29. the  language and runs the a resulting "byte code".  The "byte code" is NOT
  30. the dc language.
  31.  
  32. Also,  included  in the initial distribution is the library file vfprintf.c
  33. for  MINIX systems.  My minix 1.5 did not have this file.  Also, you should
  34. verify that vsprintf.c works correctly on your system.
  35.  
  36. The  extensions  add  some features I think are missing.  The major changes
  37. and  additions  for  bc  are  (a)  names are allowed to be full identifiers
  38. ([a-z][a-z0-9_]*),  (b)  addition  of  the  &&,  ||,  and !  operators, (c)
  39. allowing  comparison and boolean operations in any expression, (d) addition
  40. of  an  else  clause  to  the  if statement, (e) addition of a new standard
  41. function "read()" that reads a number from the standard input under program
  42. control,  (f)  passing of arrays as parameters by variable, (g) addition of
  43. the  "halt" statement that is an executable statement unlike the quit (i.e.
  44. "if  (1 == 0) quit" will halt bc but "if (1 == 0) halt" will not halt bc.),
  45. and  (h)  the  addition of the special variable "last" that is assigned the
  46. value     of     each     print     as     the     number    is    printed.
  47.  
  48.  
  49.  
  50.  
  51.  
  52. ·············································A·r·c·h·i·v·e··C·o·n·t·e·n·t·s··
  53. LhA Freeware Version 2.2
  54. Copyright © 1991-94 by Stefan Boberg.
  55. Copyright © 1998-2000 by Jim Cooper and David Tritscher.
  56.  
  57. Listing of archive 'bc-1.6.lha':
  58. Original  Packed Ratio    Date     Time    Name
  59. -------- ------- ----- --------- --------  -------------
  60.      120      99 17.5% 13-Sep-00 18:37:58  AUTHORS
  61.    69412   36274 47.7% 25-Jun-02 06:30:42  bc
  62.    35107   12020 65.7% 28-Sep-00 00:21:04  ChangeLog
  63.    17992    7014 61.0% 16-Sep-99 19:44:58  COPYING
  64.    26532    9651 63.6% 07-Jul-00 23:34:08  COPYING.LIB
  65.    41076   22115 46.1% 25-Jun-02 06:35:58  dc
  66.    34397   12267 64.3% 27-Sep-00 23:32:04 +bc.1
  67.    37674   12689 66.3% 03-Oct-00 18:36:30 +bc.info
  68.    38375   12848 66.5% 28-Sep-00 00:22:24 +bc.texi
  69.    13075    4728 63.8% 07-Jul-00 23:34:08 +dc.1
  70.    15365    5200 66.1% 03-Oct-00 18:36:30 +dc.info
  71.    16786    5431 67.6% 31-Aug-00 15:57:42 +dc.texi
  72.   200195   64386 67.8% 07-Jul-00 23:34:08 +texinfo.tex
  73.      829     435 47.5% 07-Jul-00 23:34:08  FAQ
  74.     1917     917 52.1% 12-Sep-00 17:22:46  NEWS
  75.     3522    1736 50.7% 31-Aug-00 15:57:40  README
  76.      330     198 40.0% 07-Jul-00 23:34:08 +ckbook.b
  77.     1188     546 54.0% 07-Jul-00 23:34:08 +pi.b
  78.      633     323 48.9% 07-Jul-00 23:34:08 +primes.b
  79.      710     359 49.4% 07-Jul-00 23:34:08 +twins.b
  80.      192     120 37.5% 07-Jul-00 23:34:10 +array.b
  81.      371     159 57.1% 07-Jul-00 23:34:10 +arrayp.b
  82.      205     111 45.8% 07-Jul-00 23:34:10 +aryprm.b
  83.       70      57 18.5% 07-Jul-00 23:34:10 +atan.b
  84.     1348     521 61.3% 07-Jul-00 23:34:10 +checklib.b
  85.       82      72 12.1% 07-Jul-00 23:34:10 +div.b
  86.       38      38  0.0% 07-Jul-00 23:34:10 +exp.b
  87.      107      91 14.9% 07-Jul-00 23:34:10 +fact.b
  88.      889     391 56.0% 07-Jul-00 23:34:10 +BUG.bc
  89.       89      75 15.7% 07-Jul-00 23:34:10 +jn.b
  90.       87      61 29.8% 07-Jul-00 23:34:10 +ln.b
  91.      285      94 67.0% 07-Jul-00 23:34:10 +mul.b
  92.      117      71 39.3% 07-Jul-00 23:34:10 +raise.b
  93.     2529    1382 45.3% 07-Jul-00 23:34:10 +signum
  94.      100      70 30.0% 07-Jul-00 23:34:10 +sine.b
  95.      184      71 61.4% 07-Jul-00 23:34:10 +sqrt.b
  96.      157     104 33.7% 07-Jul-00 23:34:10 +sqrt1.b
  97.      179      78 56.4% 07-Jul-00 23:34:10 +sqrt2.b
  98.     1011     503 50.2% 07-Jul-00 23:34:10 +testfn.b
  99.      260     181 30.3% 07-Jul-00 23:34:10 +timetest
  100. -------- ------- ----- --------- --------
  101.   563535  213486 62.1% Operation successful.
  102.  
  103.  
  104.  
  105.  
  106. _____________________________
  107. .Readme created with:  MRea  \
  108.